<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <!--
       文件上传表单请求方式必须是post并且enctype="multipart/form-data"
    -->
    <form action="http://localhost:9500/file/upload" method="post" enctype="multipart/form-data">

        <input type="text" name="name" placeholder="请输入用户名"><br/>
        <input type="file" name="header"><br/>
        <input type="submit" value="上传">
    </form>

</body>
</html>